package com.sfac.modules.test.mapper;

import com.sfac.modules.test.pojo.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentMapper extends JpaRepository<Student,Integer> {
    /**
     * 名称查询
     * @param studentName
     * @return
     */
    List<Student> findByStudentName(String studentName);
}
